import 'package:get/get.dart';

import 'xin_he_seller_enter_state.dart';

class XinHeSellerEnterLogic extends GetxController {
  final XinHeSellerEnterState state = XinHeSellerEnterState();

  /// 回收键盘
  void keyboardBack() {
    if (Get.focusScope?.hasPrimaryFocus == true) {
      Get.focusScope?.unfocus();
    }
  }

  ///是否勾选
  changeSelectedStatus() {
    state.selected.value = !state.selected.value;
    // setSaveButtonStatus();
  }

  shopNameChange(String value){
    state.shopName = value;
  }

  ///经营范围
  shopManagerScopeChange(String value){
    state.shopProgram = value;
  }
  shopContactNameChange(String value){
    state.shopContactName = value;
  }
  shopContactPhoneChange(String value){
    state.shopPhoneName = value;
  }

}
